<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:x="http://xseam.dev.java.net/seam"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      template="/layout/template.xhtml">
	<ui:define name="body">
	
		<h2>Visualizar saídas agendadas</h2>
		<hr style="color: #666666;width: 700px;float: left;"/>
		<br />
		<br />
	
		<x:form id="saidaForm" showMessages="true">
		
			<rich:dataGrid id="idDataGridEmpresas" value="#{saidaAction.saidasDocente}" var="_saida" columns="1" elements="10" style="width:600px;">
	            <rich:panel style="width:600px;" >
	            	<div>
	            		<div style="font-size:14px;">#{_saida.docente.nome}</div>
	            	</div>
	            	<s:div style="clear: both" />
	            	<h:panelGrid columns="1" >
	            		<h:outputText value="Ano/Semestre saida: " style="FONT-WEIGHT: bold;" /> <h:outputText value="#{_saida.anoSaida} - #{_saida.semestreSaidaDescription}" />
	            		<h:outputText value="Créditos necessários: " style="FONT-WEIGHT: bold;" /> <h:outputText value="#{_saida.creditosSaida}" />
	            		<h:outputText value="Finalidade: " style="FONT-WEIGHT: bold;" /> <h:outputText value="#{_saida.tipoSaidaDescription}" />
	            	</h:panelGrid>
	           	</rich:panel>
	        </rich:dataGrid>
		
			<s:div styleClass="actionButtons">
			
				<h:commandButton id="btnIncluir" 
					value="Voltar" action="RESULT_BACK" immediate="true" title="Pressione aqui para voltar a tela anterior."/>
					
			</s:div>
		</x:form>
		
	</ui:define>
	
</ui:composition>